package cn.e4j.modular.crm.service;

import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.crm.entity.GwbyT;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuwei
 * @since 2019-11-18
 */
public interface GwbyTService extends IService<GwbyT> {
    List<Map<String, Object>> getGwbylist(Page<Object> page, Dto inDto);

    List<GwbyT> getGwbyDetailList(String id);

    boolean existedTheParams(GwbyT gwbyT);

    void add(List<GwbyT> gwbyTList);

    void edit(List<GwbyT> gwbyTList);

    void delete(GwbyT gwbyT);

    void deleteBatch(List<GwbyT> gwbyTList);

    void changeStatusBatch(List<GwbyT> gwbyTList);

    void updateGwak001(List<GwbyT> gwbyTList);

    List<Map<String, Object>> getGwbyData(Page<Object> page, Dto inDto);
}